package com.free.feignclient;

import com.free.ServerNameConst;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = ServerNameConst.DEFAULT_SERVER_NAME)
public interface ProductFeignClient {

    @GetMapping("/anon/getProduct/{id}")
    public String getProduct(@PathVariable(value = "id") String id);
}
